package com.wmb.loggingservice.mapper;

import com.wmb.loggingservice.model.pojo.OperationLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface LoggingMapper {

    @Insert("insert into operation_logs(user_id, action, ip, detail, gmt_create) " +
            "values (#{userId},#{action},#{ip},#{detail},#{gmtCreate})")
    void insert(OperationLog log);

}
